<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ include file="taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="${host}/comment/css/prescription_list.css?t=20180306"/>
<link rel="stylesheet" href="${host}/comment/lib/jquery-dropdowngrid/jquery-dropdowngrid.css?t=20180306" />
<title>云健康--处方点评系统--处方列表查询</title>
</head>
<body>
	<div class="mid_container">
		<div class="content_upper">
			<div class="main-content-optionBtn">
				<div class="form-inline pull-left">
					<div class="form-group">
						<label class="label-normal">日期：</label>
						<input type="text" id="sdate" class="layer-date laydate-icon" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" readonly="readonly">
						<label class="label-normal">至 </label>
						<input type="text" id="edate" class="layer-date laydate-icon" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" readonly="readonly">
					</div>
					<button type="button" class="btn btn-main" onclick="prescriptionList.showPrescripList();">
						<span class="glyphicon glyphicon-search"></span>
						<span>查询</span>
					</button>
				</div>
			</div>
			<div class="main-content-table" >
				<div class="main-table-container" id="prescript_item_container">
					<table class="table-change table table-hover table-border table-striped " id="prescript_item"></table>
				</div>
			</div>
			<div class="main-content-page">
				<div class="page-statistics">
					<span>共 <span id="prescript_item_total">0</span> 条记录</span>
				</div>
				<div class="page-content" id="prescript_page">

				</div>
			</div>
		</div>
		<div class="content_down">
			<div class="">
				<ul class="nav nav-tabs" role="tablist">
					<li class="active">
						<a href="#dianping" data-toggle="tab" >处方点评</a>
					</li>
					<li>
						<a href="#mingxi" data-toggle="tab" >处方明细</a>
					</li>
					<li>
						<a href="#zhenduan" data-toggle="tab">处方诊断</a>
					</li>
				</ul>
			</div>
			<div class="tab-content">
				<div class="tab-pane active" id="dianping">
					<div class="main-content-optionBtn">
						<div class="form-inline pull-right">
							<button type="button" class="btn btn-main" onclick="prescriptionList.deletePrescripInfo();">
								<span class="glyphicon glyphicon-add"></span>
								<span>删除</span>
							</button>
							<button type="button" class="btn btn-main" onclick="prescriptionList.savePrescripInfo();">
								<span class="glyphicon glyphicon-add"></span>
								<span>保存</span>
							</button>
						</div>
					</div>
					<div class="main-content-table no-footer" style="top:80px;">
						<div class="main-table-container ui-jqgrid-space" id="dianping_item_container">
							<table class="table-change table table-hover table-border table-striped" id="dianping_item_table">
							</table>
						</div>
					</div>
				</div>
				<div class="tab-pane" id="mingxi">
					<div class="main-content-table no-footer">
						<div class="main-table-container" id="prescript_detail_container">
							<table class="table-change table table-hover table-border table-striped" id="prescript_detail">
							</table>
						</div>
					</div>
				</div>
				<div class="tab-pane" id="zhenduan">
					<div class="main-content-table no-footer" >
						<div class="main-table-container" id="prescript_diagnose_container">
							<table class="table-change table table-hover table-border table-striped" id="prescript_diagnose">
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<script src="${host}/comment/js/prescription_list.js?t=20180306"></script>
<script src="${host}/comment/lib/jquery-dropdowngrid/jquery-dropdowngrid.js?t=20180306"></script>
</html>